# base image
FROM index.mindcoder.cn/docker/alpine/base

# MAINTAINER
MAINTAINER zw@sdzw.com

# add files
ADD settings.xml /settings.xml

# run command
RUN apk add --no-cache maven
#RUN mv /usr/share/java/maven-3/conf/settings.xml /usr/share/java/maven-3/conf/settings.xml_bak
RUN mv -f /settings.xml /usr/share/java/maven-3/conf/settings.xml

# volumes
VOLUME ["/mnt"]

# main command
CMD ["/bin/sh"]

